package com.ruoyi.shuati.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 章节对象 shuati_chapter
 *
 * @author ruoyi
 * @date 2024-06-17
 */
public class ShuatiChapter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 章节名称 */
    @Excel(name = "章节名称")
    private String chapterName;

    /** 章节备注 */
    @Excel(name = "章节备注")
    private String chapterRemark;

    /** 题库id */
    @Excel(name = "题库id")
    private Long bankId;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 章节类型，请根据实际情况替换... */
    @Excel(name = "章节类型，请根据实际情况替换...")
    private Long chapterType;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setChapterName(String chapterName)
    {
        this.chapterName = chapterName;
    }

    public String getChapterName()
    {
        return chapterName;
    }
    public void setChapterRemark(String chapterRemark)
    {
        this.chapterRemark = chapterRemark;
    }

    public String getChapterRemark()
    {
        return chapterRemark;
    }
    public void setBankId(Long bankId)
    {
        this.bankId = bankId;
    }

    public Long getBankId()
    {
        return bankId;
    }
    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }
    public void setChapterType(Long chapterType)
    {
        this.chapterType = chapterType;
    }

    public Long getChapterType()
    {
        return chapterType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("chapterName", getChapterName())
            .append("chapterRemark", getChapterRemark())
            .append("bankId", getBankId())
            .append("userId", getUserId())
            .append("chapterType", getChapterType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
